﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="Default.aspx.cs" Inherits="Web.Admin.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%= ConfigurationManager.AppSettings["SoftName"] %></title>
    <script src="js/Tab.js" type="text/javascript"></script>
    <style type="text/css">
        .defaulticon{background-image:url(images/icons/default.png) !important;}
           .x-menu.x-menu-horizontal .x-menu-list
        {
            overflow: hidden;
        }
        .x-menu.x-menu-horizontal .x-menu-list .x-menu-list-item
        {
            float: left;
        }
    </style>
    <script type="text/javascript">
        var loadExample = function (href, id,text) {
            var tab = CenterPanel.getComponent(id);
            if (tab) {
                CenterPanel.setActiveTab(tab);
            } else {
                createExampleTab(id, href,text);
            }
        }
        var currentNodeID = -1;

        var getTasks = function (tree) {
            var msg = [], 
                selNodes = tree.getChecked();
            msg.push("[");   
             
            Ext.each(selNodes, function (node) {
                if (msg.length > 1) {
                    msg.push(",");
                }
                
                msg.push(node.text);
            });
            
            msg.push("]");
            
            return msg.join("");
        };

    </script>
</head>
<body style="background:#CCCCCC url(images/loading32.gif)  no-repeat center 200px;">
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" ViewStateMode="Disabled" runat="server" />
    <ext:Viewport runat="server">
        <Items>
            <ext:BorderLayout runat="server">
                <North>
                    <ext:Panel Header="false" Height="60" runat="server" >
                   
                        <Items>
                            <ext:Toolbar ID="Toolbar2">
                                <Items>
                                    <ext:Button Text="测试版" Pressed="true" Icon="Computer">
                                        <Listeners>
                                            <Click Handler="window.location='Default.aspx';" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:ToolbarFill />
                                    <ext:Button Text="个人信息" Icon="User">
                                        <Listeners>
                                            <Click Handler="WatchUserInfo();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button Text="修改密码" Icon="Key">
                                        <Listeners>
                                            <Click Handler="ChangePwdWin.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator/>
                                    <ext:Button ID="BtnSafeExit" Icon="ControlPowerBlue" runat="server" Text="安全退出">
                                        <DirectEvents>
                                            <Click OnEvent="BtnExit_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要退出系统吗？退出前请注意保存数据！" />
                                                <EventMask ShowMask="true" Msg="正在退出，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                              <ext:Toolbar ID="Toolbar1">
                                <Items>
                                   
                                    <ext:Button Text="账号信息" Icon="User">
                                        <Listeners>
                                            <Click Handler="window.location='Default.aspx';" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button Text="客户管理" Icon="UserHome">
                                        <Listeners>
                                            <Click Handler="loadExample('/admin/core/usertreemgr.aspx','usermgr','客户管理');" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button Text="设备管理" Icon="Folder">
                                        <Listeners>
                                            <%--<Click Handler="loadExample('.','devicemgr','设备管理');" />--%>
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button Text="sim管理" Icon="DeviceStylus">
                                        <Listeners>
                                            <%--<Click Handler="loadExample('.','simmgr','sim管理');" />--%>
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button Text="缴费管理" Icon="Folder">
                                        <Listeners>
                                            <%--<Click Handler="loadExample('.','jfmgr','缴费管理');" />--%>
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button Text="监控平台" Icon="Key">
                                        <Listeners>
                                            <Click Handler="loadExample('/MainMap/main.aspx','usergps','监控平台');" />
                                        </Listeners>
                                    </ext:Button>
                                    
                                </Items>
                            </ext:Toolbar>
                        </Items>
                    </ext:Panel>
                </North>
                <West Split="true"  Collapsible="false"
                    MinWidth="175" 
                    MaxWidth="400" 
                    MarginsSummary="5 0 5 5" 
                    CMarginsSummary="5 5 5 5" >
                    <%--<ext:Panel ID="WestPanel" Title="功能菜单树" AutoScroll="true" Border="false" Icon="World" Width="200">
                        <Items>
                            <ext:Panel ID="Navigation" Border="false" BodyStyle="padding:6px;"
                                Icon="User">
                                <Items>
                                    <ext:TreePanel ID="exampleTree" Border="false" Title="Examples" AutoScroll="true"
                                        Lines="true" RootVisible="false" AutoHeight="true" Header="False" HideParent="True">
                                        <Root>
                                            <ext:AsyncTreeNode Text="Examples" NodeID="root" Expanded="true" />
                                        </Root>
                                        <Loader>
                                            <ext:PageTreeLoader RequestMethod="GET" OnNodeLoad="GetModuNodes" PreloadChildren="true">
                                                <EventMask ShowMask="true" Target="Parent" Msg="正在加载..." />
                                            </ext:PageTreeLoader>
                                        </Loader>
                                        
                                        <Listeners>
                                            <ContextMenu Handler="if(node.isLeaf()){currentNodeID=node.id; return true;}else return false;" />
                                            <Click Handler="if(node.isLeaf()){e.stopEvent();loadExample(node.attributes.href, node.id);}" />
                                        </Listeners>
                                    </ext:TreePanel>
                                </Items>
                            </ext:Panel>
                            </Items>
                    </ext:Panel>--%>
                      <ext:Panel 
                        runat="server" 
                        Width="200" 
                        ID="pnlSettings"
                        BodyStyle="background-color: #284051;">
                        <Items>
                            <ext:AccordionLayout ID="AccordionLayout1" runat="server" Animate="true">
                                <Items>
                                    <ext:Panel ID="Panel1" 
                                        runat="server" 
                                        Border="false" 
                                        Icon="PageWhiteCopy"
                                        AutoScroll="true"
                                        Title="我的账户"
                                        Padding="6"
                                        >
                                        <Items>
                                            <ext:MenuPanel ID="MenuPanel1" runat="server" Width="200"  AutoHeight="True">
                                                <Menu>
                                                    <Items>
                                                        <ext:MenuItem ID="MenuItem1" runat="server" Text="账户首页"  Icon="Group" >
                                                          <Listeners>
                                                                    <Click Handler="#{CenterPanel}.addTab(#{Tab1});" />
                                                           </Listeners>
                                                          <%-- <DirectEvents>
                                                            <Click OnEvent="MenuItem1_Click">
                                                                <EventMask ShowMask="true" />
                                                               
                                                            </Click>
                                                           </DirectEvents>--%>
                                                        </ext:MenuItem>
                                                        <ext:MenuItem ID="MenuItem2" runat="server" Text="消息中心" Icon="Newspaper">
                                                        <Listeners>
                                                                 <Click Handler="#{CenterPanel}.addTab(#{Tab2});" />
                                                           </Listeners>
                                                         <%--  <DirectEvents>
                                                            <Click OnEvent="MenuItem2_Click">
                                                                <EventMask ShowMask="true" />
                                                               
                                                            </Click>
                                                           </DirectEvents>--%>
                                                        </ext:MenuItem>
                                                        
                                                    </Items>
                                                </Menu>
                                            </ext:MenuPanel>
                                        </Items>
                                           
                                        </ext:Panel>
                                 
                                </Items>                                    
                            </ext:AccordionLayout>
                        </Items>
                    </ext:Panel>
                </West>
                <Center MarginsSummary="5 5 5 0" >
                    <ext:TabPanel Border="false" ID="CenterPanel" Frame="true" ActiveTabIndex="0" runat="server" EnableTabScroll="true">
                        <Items>
                            <%--<ext:Panel ID="Home" runat="server" Title="桌 面" Icon="House" Border="false">
                                <AutoLoad Url="Welcome.aspx" Mode="IFrame" ShowMask="true"></AutoLoad>
                            </ext:Panel>--%>
                             <ext:Panel 
                                ID="Tab1" 
                                runat="server" 
                                Title="账户信息" 
                                Icon="Vcard" 
                                Closable="false" CloseAction="Hide"
                                BodyStyle="background-color: transparent;"
                                Layout="Fit" >
                                 <Listeners>
                                    <Close Handler="#{MenuItem1}.setDisabled(false);" />
                                </Listeners>
                                <Items>
                                    <ext:Portal 
                                        ID="Portal1" 
                                        runat="server" 
                                        Border="false" 
                                        BodyStyle="background-color: transparent;"
                                        Layout="Column">
                                        <Items>
                                            <ext:PortalColumn ID="PortalColumn1" 
                                                runat="server" 
                                                StyleSpec="padding:10px 0 10px 10px"
                                                ColumnWidth=".49"
                                                Layout="Anchor">
                                                <Items>
                                                    <ext:Portlet 
                                                        ID="Portlet12" 
                                                        Title="我的工作台" 
                                                        runat="server" 
                                                        Height="200"
                                                        Padding="0">
                                                        <Content>
                                                            <table>
                                                                <tr>
                                                                    <td style="width:30%;">
                                                                        <img src="../resources/images/photo.jpg" > </img>
                                                                    </td>
                                                                    <td style="width:50%;" >
                                                                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                                                        	<tr>
                                                                        		<td colspan="3">
                                                                                    <ext:Label ID="labname" runat="server">
                                                                                    </ext:Label>
                                                                                </td>
                                                                        	</tr>
                                                                        	<tr>
                                                                        		<td>
                                                                                    <li style="font-style: normal; font-weight: bold"> 管理员：</li>
                                                                                </td>
                                                                                
                                                                                <td>
                                                                                 <ext:Label ID="labname1" runat="server">
                                                                                    </ext:Label>
                                                                                </td>
                                                                                <td>
                                                                                    <ext:Button ID="Button1" runat="server" Text="[修改密码]" Icon="PageEdit">
                                                                                     <Listeners>
                                                                                        <Click Handler="ChangePwdWin.show();" />
                                                                                    </Listeners>
                                                                                    </ext:Button>
                                                                                   
                                                                                </td>
                                                                        	</tr>
                                                                        	<tr>
                                                                        		<td> <li style="font-style: normal; font-weight: bold"> 过期设备：</li>
                                                                                    </td>
                                                                                    <td>
                                                                                       <ext:Button ID="Button2" runat="server" Text="缴费" Icon="IpodCastAdd">
                                                                                     <Listeners>
                                                                                        <Click Handler="ChangePwdWin.show();" />
                                                                                    </Listeners>
                                                                                    </ext:Button>
                                                                                    </td>
                                                                                     <td>
                                                                                       <ext:Button ID="Button3" runat="server" Text="收费" Icon="Ipod">
                                                                                     <Listeners>
                                                                                        <Click Handler="ChangePwdWin.show();" />
                                                                                    </Listeners>
                                                                                    </ext:Button>
                                                                                    </td> 
                                                                                    
                                                                        	</tr>
                                                                        	<tr>
                                                                        		<td>
                                                                        		 <li style="font-style: normal; font-weight: bold"> 设备数量：</li>
                                                                        		</td>
                                                                        		<td>
                                                                                         <ext:Button ID="Button4" runat="server" Text="进货" Icon="ArrowEw">
                                                                                     <Listeners>
                                                                                        <Click Handler="ChangePwdWin.show();" />
                                                                                    </Listeners>
                                                                                      </ext:Button>
                                                                                    </td>
                                                                                     <td>
                                                                                        <ext:Button ID="Button5" runat="server" Text="库存" Icon="ArrowJoin">
                                                                                     <Listeners>
                                                                                        <Click Handler="ChangePwdWin.show();" />
                                                                                    </Listeners>
                                                                                      </ext:Button>
                                                                                    </td> 
                                                                        	</tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </Content>
                                                    </ext:Portlet>
                                                      <ext:MenuPanel ID="MenuPanel2" runat="server" Border="false"  Height="28"
                                                            SaveSelection="true" SelectedIndex="1">
                                                            <Menu ID="Menu1" runat="server" Hidden="false" ShowSeparator="true" EnableScrolling="false"
                                                               SubMenuAlign="tl-bl?" Cls="x-menu-horizontal" Floating="false">                    
                                                                <Items>
                                                                    <ext:MenuItem ID="MenuItem3" runat="server" Text="更多操作"  Icon="BulletBlue" Enabled="False" />
                                                                    <ext:MenuItem ID="MenuItem4" runat="server" Text="收费客户" Icon="GroupAdd" />
                                                                    <ext:MenuItem ID="MenuItem5" runat="server" Text="缴费客户" Icon="GroupAdd" />
                                                                    <ext:MenuItem ID="MenuItem6" runat="server" Text="设备" Icon="GroupAdd" />
                                                                    <ext:MenuItem ID="MenuItem7" runat="server" Text="操作指南" Icon="GroupAdd" />
                                                                                        
                                                                </Items>
                                                            </Menu>
                                                        </ext:MenuPanel>
                                                    <ext:Portlet ID="Portlet3" Title="我的服务商" Height="200" runat="server" >
                                                    <Content>
                                                            <table>
                                                                <tr>
                                                                    <td style="width:30%;">
                                                                        <img src="../resources/images/photo.jpg" > </img>
                                                                    </td>
                                                                    <td style="width:50%;" >
                                                                        <ext:FormPanel ID="FormPanel1" runat="server" 
                                                                          Header="False">
                                                                            <Items>
                                                                                <ext:TextField ID="TextFieldname" runat="server" AnchorHorizontal="100%" FieldLabel="服务商" ReadOnly="True">
                                                                                </ext:TextField>
                                                                                 <ext:TextField ID="TextFieldlxr" runat="server" AnchorHorizontal="100%" FieldLabel="联系人" ReadOnly="True">
                                                                                </ext:TextField>
                                                                                 <ext:TextField ID="TextFielddh" runat="server" AnchorHorizontal="100%" FieldLabel="电话" ReadOnly="True">
                                                                                </ext:TextField>
                                                                                 <ext:TextField ID="TextFielddz" runat="server" AnchorHorizontal="100%" FieldLabel="地址" ReadOnly="True">
                                                                                </ext:TextField>
                                                                            </Items>
                                                                            
                                                                        </ext:FormPanel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </Content>
                                                    </ext:Portlet>
                                                </Items>
                                            </ext:PortalColumn>
                                            
                                            <ext:PortalColumn ID="PortalColumn2" 
                                                runat="server" 
                                                StyleSpec="padding:10px"
                                                ColumnWidth=".49"
                                                Layout="Anchor">
                                                <Items>
                                                     <ext:TabPanel ID="TabPanel2" runat="server" Height="428">
                                                        <Items>
                                                            <ext:Panel 
                                                                ID="Panel2"
                                                                runat="server" 
                                                                Title="快速销售" 
                                                                AutoHeight="true"
                                                                Padding="6">
                                                                <Content>
                                                                 <table>
                                                                    <tr>
                                                                        <td style="width:80%;" >
                                                                               <ext:DropDownField ID="ddfxsg" runat="server" Editable="false" FieldLabel="*销售给" Width="300" >  
                                                                                      <Component>  
                                                                                         <ext:TreePanel ID="TreePanel1" runat="server"  Icon="ApplicationHome" Height="300"  
                                                                                             Shadow="None" UseArrows="true" AutoScroll="true" Animate="true" EnableDD="true"  
                                                                                             ContainerScroll="true" RootVisible="false">  
                                                                                             <Buttons>  
                                                                                                 <ext:Button ID="btnclose" runat="server" Text="关闭">  
                                                                                                     <Listeners>  
                                                                                                         <Click Handler="#{ddfxsg}.collapse();" />  
                                                                                                     </Listeners>  
                                                                                                 </ext:Button>  
                                                                                             </Buttons>  
                                                                                             <Root>  
                                                                                             </Root>  
                                                                                             <Listeners>  
                                                                                               <%-- // <CheckChange Handler="this.dropDownField.setValue(getTasks(this), false);" />  --%>
                                                                                                 <Click Handler="if(node.isLeaf()){e.stopEvent();this.dropDownField.setValue(node.text,false);}" />
                                                                                             </Listeners>  
                                                                                         </ext:TreePanel>  
                                                                                      </Component>  
                                                                                         <Listeners>  
                                                                                             <Expand Handler="this.component.getRootNode().expand(true);" Single="true" Delay="10" />  
                                                                                         </Listeners>  
                                                                                     </ext:DropDownField>  
                                                                        </td>
                                                                        <td style="width:20%;">
                                                                        <ext:Button ID="BtaddCustom" runat="server" Text="新增客户" Icon="ArrowEw"></ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td  style="width:80%;">
                                                                            <ext:TextField ID="TextFieldsbh" runat="server" FieldLabel="*设备号（IMEI）" Width="300">
                                                                            </ext:TextField>
                                                                        </td>
                                                                         <td style="width:20%;">
                                                                           <ext:Button ID="BtSearch" runat="server" Text="搜索" Icon="ArrowJoin"></ext:Button>
                                                                        </td>
                                                                    
                                                                    </tr>
                                                                    <tr>
                                                                    <td style="width:80%;">
                                                                            <ext:TextField ID="TextFieldsbn" runat="server" FieldLabel="*设备名称" Width="300">
                                                                            </ext:TextField>
                                                                        </td>
                                                                        
                                                                    </tr>
                                                                     <tr>
                                                                    <td style="width:80%;">
                                                                            <ext:Label ID="TextFieldsbsx" runat="server" FieldLabel="设备属性" Width="300">
                                                                            </ext:Label>
                                                                        </td>
                                                                        
                                                                    </tr>
                                                                     <tr>
                                                                    <td style="width:80%;">
                                                                            <ext:TextField ID="TextFieldsbdh" runat="server" FieldLabel="设备电话（SIM卡号）" Width="300">
                                                                            </ext:TextField>
                                                                        </td>
                                                                        
                                                                    </tr>
                                                                      <tr>  
                                                                    <td style="width:80%;">
                                                                            <ext:DateField ID="DateField1" runat="server"  SelectedDate="01/01/2012" FieldLabel="用户到期" Width="300" />
                                                                        </td>
                                                                        
                                                                    </tr>
                                                                    <td style="width:80%;">
                                                                        <ext:TextArea ID="TextArea1" runat="server"  FieldLabel="备注" Width="300">
                                                                        </ext:TextArea>  
                                                                     </td>
                                                                      <tr>  
                                                                    <td style="width:50%;  " align="right">
                                                                        <ext:Button ID="Btsoil" runat="server" Text="销售" Icon="PillAdd">
                                                                        </ext:Button>
                                                                        </td>
                                                                        <td style="width:50%;  " align="right">
                                                                        <ext:Button ID="Btreset" runat="server" Text="重置" Icon="PillGo">
                                                                        </ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                </Content>
                                                            </ext:Panel>
                                                            <ext:Panel
                                                                ID="Panel3"
                                                                runat="server" 
                                                                Title="批量销售" 
                                                                AutoHeight="true"
                                                                Padding="6">
                                                                <Content>
                                                                    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales
                                                                    a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis,
                                                                    interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis
                                                                    malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus.
                                                                    In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla
                                                                    vel, urna.<br />
                                                                    <br />
                                                                    Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean
                                                                    lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim
                                                                    non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec
                                                                    urna. Curabitur velit.
                                                                </Content>
                                                            </ext:Panel>
                                                        </Items>
                                                    </ext:TabPanel>
                                                                                                   
                                                </Items>
                                            </ext:PortalColumn>
                                        </Items>
                                    </ext:Portal>
                                </Items>
                            </ext:Panel>
                            <ext:Panel 
                                ID="Tab2" 
                                runat="server" 
                                Title="消息中心" 
                                Icon="House" 
                                Closable="false" CloseAction="Hide"
                                BodyStyle="background-color: transparent;"
                                Layout="Fit" Hidden="true">
                                <Listeners>
                                        <Close Handler="#{MenuItem2}.setDisabled(false);" />
                                 </Listeners>
                                <Items>
                                    <ext:Portal 
                                        ID="Portal2" 
                                        runat="server"  
                                        Layout="Column">
                                        <Items>
                                            <ext:PortalColumn 
                                                ID="PortalColumn6" 
                                                runat="server" 
                                                StyleSpec="padding:10px"
                                                ColumnWidth=".33"
                                                >
                                                 <Items>
                                                <ext:Portlet ID="Portlet9" Title="未读消息" runat="server" />
                                                 </Items>
                                              </ext:PortalColumn>
                                            <ext:PortalColumn 
                                                ID="PortalColumn5" 
                                                runat="server" 
                                                StyleSpec="padding:10px 0 10px 10px"
                                                ColumnWidth=".33"
                                                Layout="Anchor">
                                                <Items>
                                                    
                                                    <ext:Portlet ID="Portlet10" Title="报警消息" runat="server" />
                                                </Items>
                                            </ext:PortalColumn>
                                            <ext:PortalColumn 
                                                ID="PortalColumn4" 
                                                runat="server" 
                                                StyleSpec="padding:10px 0 10px 10px"
                                                ColumnWidth=".33"
                                                Layout="Anchor">
                                                <Items>
                                                    <ext:Portlet ID="Portlet6" Title="发送消息" runat="server" />
                                                </Items>
                                            </ext:PortalColumn>
                                        </Items>
                                    </ext:Portal> 
                                </Items>                                   
                            </ext:Panel>  
                        </Items>
                        
                        <Plugins>
                            <ext:TabCloseMenu ID="TabCloseMenu1" runat="server" CloseAllTabsText="关闭所有" CloseOtherTabsText="关闭其他"
                                CloseTabText="关闭" />
                        </Plugins>
                    </ext:TabPanel>
                </Center>
                <South>
                <ext:Panel Frame="false" Header="false" Height="27">
                        <Items>
                           <ext:Toolbar Height="27">
                                <Items>
                                    <ext:Label ID="Lbname" runat="server" Icon="User"></ext:Label>
                                    <ext:ToolbarFill></ext:ToolbarFill>
                                    <ext:ToolbarSeparator/>
                                    <ext:ComboBox ID="cbTheme" runat="server" EmptyText="切换主题" Width="100" Editable="false"
                                        TypeAhead="true">
                                        <Items>
                                            <ext:ListItem Text="Default" Value="default" />
                                            <ext:ListItem Text="Gray" Value="gray" />
                                            <ext:ListItem Text="Access" Value="access" />
                                            <ext:ListItem Text="Slate" Value="slate" />
                                        </Items>
                                        
                                        <DirectEvents>
                                            <Select OnEvent="cbTheme_changed">
                                                <EventMask ShowMask="true" Msg="正在更换皮肤,请稍后..." MinDelay="200" />
                                            </Select>
                                        </DirectEvents>
                                    </ext:ComboBox>
                                    <ext:ToolbarSeparator/>
                                </Items>
                            </ext:Toolbar>
                            </Items>
                        </ext:Panel>
                </South>
            </ext:BorderLayout>
        </Items>
    </ext:Viewport>
    <ext:Window ID="ChangePwdWin" runat="server" Modal="True" Hidden="true" Collapsible="true"
        Icon="Key" Title="修改密码" HideLabel="false" BodyStyle="padding:16px;text-align:center;"
        AutoHeight="true" Width="400px" Border="false" Resizable="False">
        <Items>
            <ext:Panel Frame="true" Border="false" Layout="Form" ColumnWidth="1">
                <Items>
                    <ext:TextField ID="TxtOldPwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请输入旧密码" />
                    <ext:TextField ID="TxtNewPwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请输入新密码" />
                    <ext:TextField ID="TxtSurePwd" AnchorHorizontal="92%" runat="server" InputType="Password"
                        AllowBlank="false" FieldLabel="请确认新密码" />
                </Items>
            </ext:Panel>
        </Items>
        <Buttons>
            <ext:Button ID="BtnSave" runat="server" Text="提 交" Icon="Disk">
                <DirectEvents>
                   <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="修改中，请稍后..." />
                    </Click>
                </DirectEvents>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
